package org.deng.learn.designpattern.builder;

/**
 * @author DengLibin
 * @Description 总指挥
 * @Date 2019/2/12 0012 17:05
 */
public class Director {

    public  House buildHouse(IHouseBuilder houseBuilder){
        houseBuilder.diji();
        houseBuilder.puZhuan();
        houseBuilder.puDianXian();
        houseBuilder.zhuangXiu();
        return houseBuilder.buildHose();
    }
}
